package com.entity;

import javax.persistence.Table;
import java.io.Serializable;

@Table(name = "t_role_menu")
public class Role2Menu implements Serializable{

    private Long roleId;
    private Long menuId;


    public Role2Menu(Long roleId, Long menuId) {
        this.roleId = roleId;
        this.menuId = menuId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getMenuId() {
        return menuId;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }
}